package entity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author gxa
 * @since 2023-02-27
 */
@Getter
@Setter
@TableName("tb_menu")
@ApiModel(value = "Menu对象", description = "")
public class Menu implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "menu_id", type = IdType.AUTO)
    private Integer menuId;

    @ApiModelProperty("权限名	")
    @TableField("menu_name")
    private String menuName;

    @ApiModelProperty("权限描述	")
    @TableField("menu_remark")
    private String menuRemark;

    @ApiModelProperty("权限接口	")
    @TableField("menu_url")
    private String menuUrl;

    @ApiModelProperty("权限父子	")
    @TableField("pid")
    private Integer pid;

    @ApiModelProperty("菜单图标")
    @TableField("icon")
    private String icon;


}
